package com.cs.beneficios.web.action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionErrors;
//import org.apache.struts.action.ActionError;
import org.apache.struts.action.ActionMapping;
import javax.servlet.http.HttpServletRequest;

public class AdicionAtributoForm extends ActionForm 
{
  /**
   * Reset all properties to their default values.
   * @param mapping The ActionMapping used to select this instance.
   * @param request The HTTP Request we are processing.
   */
  public void reset(ActionMapping mapping, HttpServletRequest request)
  {
    super.reset(mapping, request);
  }

  /**
   * Validate all properties to their default values.
   * @param mapping The ActionMapping used to select this instance.
   * @param request The HTTP Request we are processing.
   * @return ActionErrors A list of all errors found.
   */
  public ActionErrors validate(ActionMapping mapping, HttpServletRequest request)
  {
    return super.validate(mapping, request);
  }
  
  private String strNombre;
  private String strDescripcion;
  private String strEtiqueta;
  private String strOrden;
  private String strTipoDato;
  private String strTipoAtributo;
  private String strLongitud;
  private String strObligatorio;
  private String strValidarLista;
  
  
  public String getNombre()
  {
    return strNombre;
  }
  
   public String getDescripcion()
  {
    return strDescripcion;
  }
  
   public String getEtiqueta()
  {
    return strEtiqueta;
  }
  
  public String getOrden()
  {
    return strOrden;
  }
  
  public String getTipoDato()
  {
    return strTipoDato;
  }
   public String getTipoAtributo()
  {
    return strTipoAtributo;
  }
  
   public String getLongitud()
  {
    return strLongitud;
  }
   public String getObligatorio()
  {
    return strObligatorio;
  }
  
    public String getValidarLista()
  {
    return strValidarLista;
  }
  
  public void setNombre(String strNombre) {
        this.strNombre = strNombre;
  }
  
  public void setDescripcion(String strDescripcion) {
       this.strDescripcion = strDescripcion;
  }
  
   public void setEtiqueta(String strEtiqueta) {
        this.strEtiqueta = strEtiqueta;
  }
  
   public void setOrden(String strOrden) {
        this.strOrden = strOrden;
  }
  
  public void setTipoDato(String strTipoDato) {
       this.strTipoDato = strTipoDato;
  }
  
  public void setTipoAtributo(String strTipoAtributo) {
        this.strTipoAtributo = strTipoAtributo;
  }
  
  public void setLongitud(String strLongitud) {
       this.strLongitud = strLongitud;
  }
  
   public void setObligatorio(String strObligatorio) {
        this.strObligatorio = strObligatorio;
  }
  
  public void setValidarLista(String strValidarLista) {
       this.strValidarLista = strValidarLista;
  }
}